package org.itboys.admin.dto.lasted;


/**
 * 作者：jiangxiong
 * 日期：2017年2月8日
 * 联系方式 ：empty90911@126.com
 * 描述：系统_dto_基类
 * 
 */
public class BaseDto {
	   	private long id;
	    private Long creator;//数据创建者ID
	    private String creatorName;//数据创建者昵称
	    private String createTime;//数据创建时间（年月日 时:分:秒）。
	    private String createDate;//数据创建时间（年月日）。

	    private Long updater;//数据最后修改者ID。
	    private String updaterName;//数据最后修改者昵称。
	    private String updateTime;//数据最后修改时间。（年月日 时:分:秒）
	    private String updateDate;//数据最后修改时间。（年月日 时）
	    private Integer isDeleted;//删除删除标识（数字）
	    //private String IsDeletedStr;//是否删除标识（字符串）
	    public BaseDto(){

		}

	public BaseDto(long id ,
				   Long creator, String creatorName, String createTime, String createDate,
				   Long updater, String updaterName, String updateTime, String updateDate,
                   Integer isDeleted) {
			this.id=id;
			this.creator = creator;
			this.creatorName = creatorName;
			this.createTime = createTime;
			this.createDate = createDate;
			this.updater = updater;
			this.updaterName = updaterName;
			this.updateTime = updateTime;
			this.updateDate = updateDate;
			this.isDeleted = isDeleted;
			//IsDeletedStr = isDeletedStr;
		}
		public Long getCreator() {
			return creator;
		}
		public void setCreator(Long creator) {
			this.creator = creator;
		}
		public String getCreatorName() {
			return creatorName;
		}
		public void setCreatorName(String creatorName) {
			this.creatorName = creatorName;
		}
		public String getCreateTime() {
			return createTime;
		}
		public void setCreateTime(String createTime) {
			this.createTime = createTime;
		}
		public String getCreateDate() {
			return createDate;
		}
		public void setCreateDate(String createDate) {
			this.createDate = createDate;
		}
		public String getUpdateTime() {
			return updateTime;
		}
		public void setUpdateTime(String updateTime) {
			this.updateTime = updateTime;
		}
		public String getUpdateDate() {
			return updateDate;
		}
		public void setUpdateDate(String updateDate) {
			this.updateDate = updateDate;
		}
		public Long getUpdater() {
			return updater;
		}
		public void setUpdater(Long updater) {
			this.updater = updater;
		}
		public String getUpdaterName() {
			return updaterName;
		}
		public void setUpdaterName(String updaterName) {
			this.updaterName = updaterName;
		}
		public Integer getIsDeleted() {
			return isDeleted;
		}
		public void setIsDeleted(Integer isDeleted) {
			this.isDeleted = isDeleted;
		}
		public String getIsDeletedStr() {
	    	String isDeletedStr = isDeleted==1?"已删除":"正常";
			//if(isDeleted==0)
	    	return isDeletedStr;
		}

		public long getId() {
			return id;
		}
		public void setId(long id) {
			this.id = id;
		}
	    
	    
	    
}
